package com.uniview.plugins.adapter;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 数据同步操作
 * 
 * @author ideapad
 *
 */
public class DataSyncTask {

	Logger logger = Logger.getLogger(DataSyncTask.class);


	@Autowired
	private EmployeesHelper employeesHelper;


	public void syncUpdateData() {
		try {
			employeesHelper.syncEmployees();
			//employeesHelper.syncUpdateEmployees();
		} catch (Exception e) {
			logger.error("同步更新数据异常", e);
		}
	}
}
